home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Education / PC-SiG's World of Education.iso / wor / disk3097.zip / CUTZIT.DOC next >
Text File  |  1990-01-21  |  64KB  |  1,338 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.       FREEFREE    FR        EE    FREEFREE    FREEFREE    FREE    FREEFREE
  7.       FREEFREE    FR        EE       EF             EE     RE        EF   
  8.       FR          FR        EE       EF            RE      RE        EF   
  9.       FR          FR        EE       EF           FR       RE        EF   
  10.       FR          FR        EE       EF           FR       RE        EF   
  11.       FR          FR        EE       EF           FR       RE        EF   
  12.       FR          FR        EE       EF          EF        RE        EF   
  13.       FR          FR        EE       EF          EF        RE        EF   
  14.       FR          FR        EE       EF          EF        RE        EF   
  15.       FR          FR        EE       EF         EE         RE        EF   
  16.       FR          FR        EE       EF         EE         RE        EF   
  17.       FR          FR        EE       EF         EE         RE        EF   
  18.       FR          FR        EE       EF        RE          RE        EF   
  19.       FR          FR        EE       EF        RE          RE        EF   
  20.       FR          FR        EE       EF        RE          RE        EF   
  21.       FREEFREE    FREEFREEFREE       EF       FR           RE        EF   
  22.       FREEFREE    FREEFREEFREE       EF       FREEFREE    FREE       EF   
  23.  
  24.  
  25.                                         
  26.                    "CUTZIT" cuts up Files into Smaller Files
  27.  
  28.                                   Version 1.1
  29.  
  30.               \
  31.                \\                       /)
  32.                 \\                     //
  33.                  \\\                  //
  34.         __________\\\ _________     ///  ___    ___    ___    ___    ___
  35.        |           \\\\        |  ///   |   |  |   |  |   |  |   |  |   | 
  36.        |  C U T S   \\\\\ U P  |////    | F |  | I |  | L |  | E |  | S | 
  37.        |_____________\\\\\\____|///     |___|  |___|  |___|  |___|  |___|
  38.                       \\\\\\ /////
  39.                        \\\\/V///
  40.                         \//_O/\ 
  41.                        ///^\\\\\\  
  42.                      ////    \\\\\\ 
  43.                    ////        \\\\\\ 
  44.                  ////            \\\\\\
  45.             ___////                \\\\\___    
  46.            //////(                  )\\\\\\\  
  47.            |/[_]/|                  |\[_]\\| 
  48.             \////                    \\\\\/  
  49.  
  50.  
  51.  
  52.  
  53.             LUNCHWARE  - take a friend to Lunch and give them a copy
  54.  
  55.                       There is NO CHARGE for this program
  56.  
  57.                    There is NO REGISTRATION FEE of any kind
  58.  
  59.                       Copyright 1989,1990 by David Roper
  60.  
  61.  
  62.                                                                PAGE 1
  63.         
  64.                                     CUTZIT
  65.                                   Version 1.1
  66.                    "a utility to Cut up files in many ways"
  67.                       Copyright 1989,1990 by David Roper
  68.  
  69.         You may not NEED to read this manual in order to run CUTZIT, 
  70.         but since everybody wants a manual, here it is.  Free.
  71.  
  72.         The purpose of CUTZIT is to be able to cut up any file into 
  73.         smaller pieces as you wish .  Sometimes large files are harder 
  74.         to manipulate - even if your application CAN handle it. 
  75.  
  76.         CUTZIT is great for word processor files.  It can slice and 
  77.         cut up an ASCII data base, too.  You know the kind, they are 
  78.         delimited by a Carriage Return and LineFeed (Hex 0D,0A). 
  79.  
  80.         CUTZIT can split a large BINARY file (without CR,LF's), like a
  81.         dBASE III data file or a Display Write file, into smaller files 
  82.         so that you can put them on 360K disks and send them through 
  83.         the mail to someone.  When they arrive, they can be combined 
  84.         (back) into a large file, once again, so they can be used.  If 
  85.         you've ever tried to send someone a large, 2 Megabyte file 
  86.         using 360K disks, you will appreciate this feature.  Sometimes, 
  87.         even ARC-ed files are not small enough.  Cut them with CUTZIT.
  88.  
  89.         There are 2 screens with menu options for you to select. The 
  90.         first menu screen you see has a "Clock" on it and I shall refer 
  91.         to it as the "CLOCK" menu.  If you press the enter key without 
  92.         selecting one of the menu options, you will get "more" options.  
  93.         I shall call this 2nd screen the "MORE" options menu.  Press 
  94.         Enter again and you'll return to the "CLOCK" menu.  Easy.
  95.  
  96.         For those of you with a COLOR Monitor, you can set the colors   
  97.         that you want to use by pressing ALT C at either of the two 
  98.         MENU screens, then, just follow the instructions. 
  99.  
  100.         Throughout the program, try to keep a few things in mind.  
  101.         Cutzit "will not stomp" over any files that exist.  I wanted 
  102.         your "originals" to remain safely intact.  Sometimes, when 
  103.         CUTZIT is CREATING smaller files for you, the numbers, 1 to 
  104.         999, will be used for extensions.  And, lastly, pressing ENTER 
  105.         when you don't know what to enter for an answer will either 
  106.         "get out" of that feature or use a Default value.  Again, don't 
  107.         be scared to try a feature.  Nothing will happen to the original. 
  108.  
  109.         There's 3 commands that will make life easier for the beginner: 
  110.         PRINT, RENAME, and APPEND.  They are found on the MORE options 
  111.         menu.  They won't impress computer users.  I was just trying to 
  112.         think of the beginner who will have all these small files with 
  113.         numbers for extensions  -  what do they do then ???  
  114.         
  115.         Anyone can use and distribute "CUTZIT" and "CUTZIT.DOC" so long 
  116.         as they don't charge other than the customary copying charges 
  117.         of less than $10.  New versions are available from wherever you 
  118.         got this version.  None are available from me - Please don't ask.
  119.  
  120.          
  121.  
  122.         CUTZIT                 TABLE OF CONTENTS               PAGE 2
  123.         ---------------------------------------------------------------  
  124.  
  125.  
  126.  
  127.  
  128.         MENU  KEY          AS IT APPEARS ON THE SCREEN         PAGE
  129.        ====== === ============================================ ====
  130.  
  131.         CLOCK  H  Help...........................................3
  132.         CLOCK  D  DIR...........................................28
  133.         CLOCK  N  Number of files, you select....................4
  134.         CLOCK  L  Lines per file, you select.....................5
  135.         CLOCK  S  Select the Size for all to be..................6
  136.         CLOCK  W  Whenever a phrase occurs.......................7
  137.         CLOCK  I  Inspect and save what you want to..............8
  138.         CLOCK  M  Merge a file into another file.................9
  139.         CLOCK  B  Binary File cut into sizes/ratios.............10
  140.         CLOCK  V  Vertical cuts from ASCII files................11
  141.         CLOCK  P  PAD records with a character on the right.....12
  142.         CLOCK  F  Features List.................................13
  143.         Both   Q  Quit using CUTZIT.............................14
  144.         MORE   A  Append one file to another....................15
  145.         MORE   R  Rename a file to have a NEW name..............16
  146.         MORE   G  Glue Two files Together, Side by Side.........17
  147.         MORE   H  How many Bytes in file, ASCII or BINARY.......18
  148.         MORE   L  Line Length test of ASCII files...............19
  149.         MORE   C  Check whether the file is ASCII or BINARY.....20
  150.         MORE   E  Extract a BASIC program from an ASCII file....21
  151.         MORE   V  View  File on the Monitor.....................22
  152.         MORE   P  Print a File to the Printer...................23
  153.         MORE   S  Search a File to Replace a word...............24
  154.         MORE   W  When a Field changes, make a New File.........25
  155.         MORE   D  Data Range Must be Passed to Keep Record......26
  156.         MORE   T  Trim Characters from Right Side of Record.....27
  157.           -    -  Version History...............................29
  158.  
  159.   
  160.  
  161.                                       Help
  162.         CLOCK  H                                               PAGE 3 
  163.         ---------------------------------------------------------------  
  164.         
  165.         PURPOSE:   This screen provides reminders to the user.
  166.                    #1 Reminder is that CUTZIT won't hurt your original 
  167.         file, and that Numbers 1 - 999 will be used if CUTZIT creates 
  168.         smaller files for you automatically.  
  169.  
  170.         Do NOT try to cut a BINARY FILE using the ASCII FILE cutting 
  171.         functions.  I have tried to check for this occurence, but 
  172.         Murphy lives and I may have missed one.  
  173.  
  174.         Still, nothing will harm your original file....
  175.         
  176.         ASCII vs. BINARY can be easily and quickly checked using the
  177.         Checking function on the MORE menu (second menu, item C). 
  178.  
  179.         The A and B under the Title of each page in the Manual signify 
  180.         whether the function is to be for Ascii or Binary or both (AB).
  181.  
  182.         A shortcut for writing "x" number of ASCII characters while in 
  183.         Vertical Cuts, is (x,n).  For instance, if you wanted 22 dots 
  184.         as a filler, then (22,43) would do it instead of keying in the 
  185.         twenty-two dots like this:  "......................" 
  186.         
  187.         The 22 is "how many" and the 43 is the decimal ASCII value for 
  188.         the dot or period (.)  It is similar to BASIC's STRING$( , ) 
  189.  
  190.         You MUST use the left parenthesis, the right parenthesis, and 
  191.         the comma in the middle for this "shortcut" to work.
  192.  
  193.         When entering numbers, you can use "K" or "k" for 1000.  In 
  194.         other words, 3K is as good as 3000 or 3,000.  Yes, you can use 
  195.         a comma, too, if you in the habit.  Computer people don't use 
  196.         commas most of the time, but secretaries and bosses DO.  
  197.         
  198.         So we have 3K, 3k, 3000, and 3,000 all equivalent. 
  199.         You can even say 4.5K for 4,500.  How 'bout that?  Big deal!
  200.  
  201.         Also see:  FEATURES (CLOCK F)
  202.                    
  203.         "I can't find what I want to do!  I want to be able to..."
  204.  
  205.         Find a word in a file...see pages 8, 22, 24
  206.         Count Lines in a file...see page 19
  207.         Backup Large files to 360K disks....see page 10
  208.         Separate Records in a file....see pages 5, 7, 25, 26
  209.         Use EPI-INFO data....see page 26
  210.         Filter Records with a range Value....see page 26
  211.         Save records between 2 dates....see page 26
  212.         Fill-in to make all records a certain size....see page 12
  213.         Cut records to a certain size.....see page 11
  214.         Cut a subroutine out of a BASIC program...see page 21
  215.         See whether any lines are over 70 characters long...see page 19
  216.         Put two fields side by side to create new file...see page 17
  217.         Trim excess spaces from the right side of records...see page 27
  218.   
  219.         
  220.                       Number Of Files, You Select How Many
  221.         CLOCK  N                       A                       PAGE 4 
  222.         ---------------------------------------------------------------  
  223.         
  224.         PURPOSE:    You can select HOW MANY FILES to make.  It does the 
  225.                     rest.  
  226.         
  227.         You select a number, such as 3.  CUTZIT will then do the math 
  228.         to decide how many lines of text to put in each file without 
  229.         exceeding that calculated number.  The last file will have to 
  230.         catch what remains. 
  231.  
  232.         Since we are working with ASCII files which have uneven lengths 
  233.         of text on each line, it is "impossible" to cut precisely in 
  234.         the middle of the line, just to make the math correct.  It 
  235.         could have been done that way, but who wants a sentence or a 
  236.         word cut in the middle....with the other half of the word or 
  237.         sentence in another file? 
  238.  
  239.         If you want it cut precisely, then use Binary cuts (CLOCK B) 
  240.         and select RATIO and input something like  1:1:1  which will 
  241.         cut into thirds, etc.  A reminder though, each file's last 
  242.         sentence will be probably cut in the middle of a word...so big 
  243.         deal, do it over.  
  244.         
  245.         CUTZIT doesn't harm your original, so you can CUTZIT all day 
  246.         long if you wish. 
  247.         
  248.         You will finish with 3 files (if you choose 3!) which will be 
  249.         named Huey, Dewey and Louie -- sorry -- 
  250.         which will have extensions of ".1", ".2", and ".3".  These 
  251.         three are in order of their creation.  ".1" will be the first, 
  252.         etc. 
  253.  
  254.         The file name will be shortened (if needed) and a dash "-" will 
  255.         be the first character of the name.  Examples:  MYFILE.DOC will 
  256.         become -MYFILE.1, -MYFILE.2, and -MYFILE.3
  257.  
  258.         Another example, using a long, 8 character name:  HAULDIRT.TXT 
  259.         will become -HAULDIR.1, -HAULDIR.2, and -HAULDIR.3 
  260.  
  261.         Did you notice that DIRT became DIR?  Remember, your original 
  262.         file is not hurt.  The dashes are to help you find the new 
  263.         files when you do a DIRectory.  You can rename them later, if 
  264.         you wish. 
  265.                                                   
  266.  
  267.  
  268.  
  269.                            Lines Per File, You Select 
  270.         CLOCK  L                       A                        PAGE 5
  271.         ---------------------------------------------------------------  
  272.         PURPOSE:   You can select HOW MANY LINES go into each and every 
  273.                    file that is made.  Each file can have the SAME 
  274.         number of lines in it, OR, you can select different numbers of 
  275.         lines to go into each individual file made.  
  276.         
  277.         Each file created will get the "1 - 999" number extension 
  278.         already discussed ad nauseum. 
  279.  
  280.         If the file called "MYMEMOS.TXT" is 200 lines long and you 
  281.         select 60 as the number of lines to be in each file, obviously 
  282.         you can get only three files made with 60 lines in each.  The 
  283.         fourth file will get the remainder.  In this case it would get 
  284.         the last 20 lines. 
  285.  
  286.         Here's the Math ---
  287.  
  288.         200 /  60 = 3.333 , so we will make three files with 60 lines 
  289.         each, for a total of 180 lines.  That leaves 20 lines to go 
  290.         into the fourth file because 200 - 180 = 20 . 
  291.  
  292.         The important thing here is that EACH file will get the number 
  293.         of lines you requested it to have.  Each file will be different 
  294.         in size (bytes), naturally, because we are counting lines, not 
  295.         bytes. 
  296.         
  297.         The LAST FILE created (with the highest extension number!) will 
  298.         contain the smallest number of lines.  In other words it gets 
  299.         "what's left over" after all the files that Can be made, ARE 
  300.         made.
  301.         
  302.         You will get four files made for you:
  303.  
  304.         -MYMEMOS.1  with 60 lines in it
  305.         -MYMEMOS.2  with 60 lines in it
  306.         -MYMEMOS.3  with 60 lines in it
  307.         -MYMEMOS.4  with 20 lines in it
  308.  
  309.         Since "MYMEMOS" is 7 characters long, a dash was simply added 
  310.         to the beginning.  No letters (characters) had to be dropped at 
  311.         the right side of the word.
  312.            
  313.  
  314.         
  315.                          Select The Size For All To Be
  316.         CLOCK S                        A                       PAGE 6   
  317.         ---------------------------------------------------------------  
  318.         PURPOSE:   This is a twist on the previous two options.  You 
  319.                    will select HOW MANY bytes to go into each and every 
  320.         file and CUTZIT will make files with that many bytes OR LESS.
  321.  
  322.         The size of the file that you select will actually be the 
  323.         Maximum size allowed.  Remember, we are using lines of text 
  324.         and we don't want to break a line or word in the middle of 
  325.         itself.  
  326.  
  327.         If you select 2K as the size to make from a file that is 10,000 
  328.         bytes long, then CUTZIT will produce 5 or 6 files.  Probably, 
  329.         it will be six (6) files because each file will be a MAXIMUM of 
  330.         2,000 bytes depending on where the lines end.  
  331.  
  332.         In fact, they would all have to be EXACTLY 2,000 bytes each 
  333.         (unlikely) to create only 5 files.
  334.  
  335.         So, each file will probably be of a different length, but all 
  336.         of them will be 2,000 bytes or LESS. 
  337.  
  338.         HINT: If you are wanting each file to be EXACTLY 2,000 bytes, 
  339.         no more, no less, then you need to cut it up using the Binary 
  340.         Cut option,  CLOCK B, page 10 in this manual.  Your sentences 
  341.         will be chopped wherever they need to be in order to make each 
  342.         file EXACTLY 2000 bytes in length.  
  343.         
  344.         If you're using text and ASCII files, you probably DON'T want 
  345.         to cut it using the Binary Cut option. 
  346.  
  347.  
  348.         
  349.                             Whenever A Phrase Occurs
  350.         CLOCK W                        A                       PAGE 7 
  351.         ---------------------------------------------------------------  
  352.         PURPOSE:   The operative word here is "WHENEVER."   CUTZIT will 
  353.                    begin to make a new file (with the number extensions) 
  354.         everytime/whenever a particular Word or Phrase is found.  
  355.  
  356.         If you have a 100,000 byte short story with chapters marked 
  357.         in it like this:  "CHAPTER ** 1 **", "CHAPTER ** 2 **", 
  358.         "CHAPTER ** 3 **", "CHAPTER ** 4 **", "CHAPTER ** 5 **", etc., 
  359.         then this is for you.
  360.         
  361.         With this option, you can tell CUTZIT to "read your story" and 
  362.         when it finds the words "CHAPTER ** ", begin to make a new file 
  363.         and put that chapter of your story into a new file.  You would 
  364.         create a new file for each chapter it reads.
  365.         
  366.         However, if you wanted to break the story into only two parts, 
  367.         specifically beginning with the 6th chapter, then tell CUTZIT 
  368.         that the words to find are "CHAPTER ** 6 **" and you will get 
  369.         two files.  The first file will be the first 5 chapters and the 
  370.         second will be chapters 6 thru the End 
  371.         
  372.         The word to find must be an exact match.  Upper and Lower case 
  373.         must match.  "CAT" is not "cat" is not "Cat",etc.  And the 
  374.         match must be performed on one line of text.  The phrase cannot 
  375.         be found if it wraps around to the next line.  
  376.  
  377.         Another use of this which I use is to separate SIGS on captured 
  378.         LOG sessions from Compuserve.  After an hour or two, I end up 
  379.         with a 200K file that I cannot handle easily.
  380.         
  381.         Everytime I change SIGS, I get the phrase "....last time you 
  382.         were on..." so that's what MY Phrase/Word is,  and I get EACH 
  383.         SIG in a different file.                   
  384.  
  385.         Then I can easily look in the ones that I want.
  386.         
  387.  
  388.  
  389.                        Inspect And Save What You Want To
  390.         CLOCK I                        A                       PAGE 8 
  391.         ---------------------------------------------------------------  
  392.         PURPOSE:   Have you ever wanted to look at a file line by line 
  393.                    keeping some lines and throwing away others?  This 
  394.         option allows you to do that very thing. 
  395.         
  396.         It can help you find a word in a sentence if you ask it to.
  397.         If the word (or phrase) is found, a blinking star (*) will 
  398.         appear at the beginning of the line. 
  399.  
  400.         When you begin looking at the file on the screen, you will see 
  401.         the helping words at the bottom.  Nobody wants to have to 
  402.         remember them so they are put at the bottom each screen.
  403.  
  404.         If you want to Skip a line, do so by pressing "S" for Skip a 
  405.         line.  The top line will be colored as a marker for you.  Once 
  406.         you've skipped it, you cannot go back.  Sorry, Dorothy. 
  407.         
  408.         When you want to Keep a line, press ENTER, and it disappears 
  409.         from the screen indicating that it went to the file to be 
  410.         kept.  At the bottom of the screen there is a symbol for the 
  411.         Enter key.  It looks like this:  <--' 
  412.          
  413.         The Enter key keeps the Top-most line (if it hasn't been skipped 
  414.         yet!)  
  415.         
  416.         Remember, NOTHING EVER HAPPENS TO YOUR ORIGINAL, so you can run 
  417.         this feature on the same file the next day, over and over. 
  418.         
  419.         If you want to Keep all the remaining lines in the file, 
  420.         press the "K" for Keep Remaining.  After all, you may just be 
  421.         trying to throw away the trash at the beginning of the 
  422.         file...after you have done that, Keep the Remaining without 
  423.         having to look at them. 
  424.         
  425.         If you want to keep all the lines currently showing on the 
  426.         screen, press the SPACE BAR.  If you have "Skipped" any lines, 
  427.         then, of course, they won't be saved.  Just the ones remaining 
  428.         uncolored will be kept.  The SPACE BAR is a convenient way of 
  429.         keeping as many as 24 lines at a time if the screen is full.  
  430.  
  431.         When you are tired of looking at the file, press Q to quit.  
  432.         The session will be over and you will not get to inspect the 
  433.         rest of the file.  Whatever you have saved will be okay.
  434.  
  435.         If you have selected all the lines that you want from the 
  436.         screen, you MAY want to get a fresh screen full.  Press "N" for 
  437.         "None on the screen look good to me" and you will get a fresh 
  438.         new batch of lines to pick over and choose FROM.  
  439.         
  440.         A preposition is a bad word to end a sentence WITH.  Oops....
  441.  
  442.  
  443.  
  444.                          Merge A File Into Another File
  445.         CLOCK M                        A                       PAGE 9
  446.         ---------------------------------------------------------------  
  447.         PURPOSE:   This option will combine two files by placing the 
  448.                    second file into the first file at any place that 
  449.         you have marked beforehand.
  450.         
  451.         Suppose you have a small, two page story that you want to make 
  452.         references to, so you want to include it in your large, annual 
  453.         report.  Let CUTZIT do this for you.  Automatically. 
  454.  
  455.         Go into your first file, the report,  at the point where you 
  456.         want to bring in the second file, the story.  Place a word (12 
  457.         characters or less) there, which is STRANGE or UNIQUE and which 
  458.         doesn't exist anywhere else in the report file.  I always use 
  459.         "$$$$$$$$" because that word would never exist normally. 
  460.         
  461.         Put the word (like "$$$$$$$$") on a separate line, by itself. 
  462.            (Actually, you know you can invent your OWN word to use.)
  463.         
  464.         When you choose this option, simply tell CUTZIT what the 
  465.         STRANGE word is - (like "$$$$$$$$") - be sure to make it 
  466.         UNIQUE enough that it can't be found anywhere else in your 
  467.         report accidentally.  
  468.         
  469.         Then you will be asked the question, "Keep it (y/N)?"
  470.  
  471.         If you press Enter (alone) or press N, then the line with 
  472.         "$$$$$$$$" on it will not be kept and it will not be 
  473.         transferred to your newly formed file.  Then you will not have 
  474.         to use your word processor to delete it. 
  475.         
  476.         CUTZIT will bring the second file into the first when it sees 
  477.         the "$$$$$$$$" and then it will finish copying the rest of the 
  478.         first file for you.  You have "Automatic Merge."  
  479.         
  480.         Of course, if you already have a STRANGE or UNIQUE word in the 
  481.         first file, you don't need to invent one.  Use it.  And tell 
  482.         CUTZIT to KEEP the line containing it (a "Y"es answer to the 
  483.         question, "KEEP IT?" ).  This way is even easier, but it's hard 
  484.         to have a UNIQUE WORD exactly where you want it unless you have 
  485.         put it there previously. 
  486.  
  487.         
  488.                        Binary File Cut Into Sizes/Ratios
  489.         CLOCK B                        AB                      PAGE 10
  490.         ---------------------------------------------------------------  
  491.         PURPOSE:   This will cut ANY FILE into any smaller sizes.
  492.                    NOT ALL FILES ARE TEXT FILES THAT END IN CR,LF. 
  493.         (CR is Carriage Return.  LF is Line Feed.)  This special "CUT"
  494.         will allow you to create smaller files from Large files.  They 
  495.         can be put back together later by DOS - back into a whole file 
  496.         once again.  
  497.  
  498.         If you have ever had a large file that would not fit onto a 
  499.         single diskette, you'll like this.  Sometimes, even ARCed files 
  500.         won't fit onto just one 360K diskette.  
  501.         
  502.         You could use DOS' BACKUP and RESTORE, but the other person had 
  503.         better be using the same version of DOS or you're out of luck! 
  504.  
  505.         One way to cut up a Binary file is to tell CUTZIT how many 
  506.         bytes to put into each file created.  CUTZIT will keep a 
  507.         balance for you as you work, so put away your calculator. 
  508.  
  509.         You decide on the precision of the sizes because you determine 
  510.         the size of the smallest part copied.  Files will be created 
  511.         using CLUSTERS, or CLUMPS of bytes.  (My name for them,-- you 
  512.         won't find it in any DOS book.) If you want the CLUSTER size to 
  513.         be 1 byte, each file can be made exactly as big as you want - 
  514.         to the exact, very byte, but it will take longer to create the 
  515.         files.  If you make the CLUSTER size = 1000 bytes then the file 
  516.         sizes will be multiples of 1000 bytes (44000, 360000, etc.) 
  517.         
  518.         You can make up to 20 smaller files from one large file.  If 
  519.         they aren't small enough, simply run it again and break up the 
  520.         smaller files still smaller.  Using this technique, you can 
  521.         strip the header information from DBASE III files, etc. 
  522.  
  523.         OR - you may cut up your file using a simple, RATIO technique. 
  524.  
  525.         What is a Ratio?  A Ratio is "numbers that relate to each other 
  526.         and represent the whole item."   My definition, not Webster's. 
  527.  
  528.         A ratio is like 1:1, pronounced "one to one."  It means there 
  529.         are two parts (1+1) and both are equal.  Each part is 50%.
  530.  
  531.         If the ratio is 1:2:4, then there are 7 parts (1+2+4) with the 
  532.         first part = 1/7th, the second part = 2/7ths, and the third 
  533.         part = 4/7ths.  Since 1/7th is 14%, 2/7ths is 29% and 4/7ths is 
  534.         57%, if your File were 10000 bytes, you would get three files: 
  535.         Approximately 1400 bytes, 2900 bytes and 5700 bytes.  Actual 
  536.         sizes depends on the CLUSTER size you picked, but they all will 
  537.         total 10,000 bytes. 
  538.  
  539.         You can use any of four separators - ":" or ";" or "," or "-"
  540.         You can use 1-2-4 or 1:2:4 or 1,2,4 or 1;2;4 or 1,2;4, etc.
  541.  
  542.         Use DOS' COPY to put them back together - and use the /B switch. 
  543.         See the section on APPEND, page 15 of this manual.
  544.  
  545.         
  546.                          Vertical Cuts From ASCII Files
  547.         CLOCK V                        A                       PAGE 11
  548.         ---------------------------------------------------------------  
  549.         PURPOSE:   This cuts fields out of records.  This is the most 
  550.                    difficult to explain.  Think of using your scissors 
  551.         to cut Vertically on a file.  This feature will be used mostly 
  552.         on ASCII Data files where each record is delimited by CR,LF. 
  553.  
  554.         NOTE: The opposite of this CLOCK V funtion is MORE G, which is 
  555.         Gluing two fields back together into one record.  See page 17 
  556.         for information on Gluing. 
  557.  
  558.         You cannot cut but 10 fields out at one time.  
  559.  
  560.         If you wish, there can be a "filling" put between the fields.
  561.  
  562.         For example, if one field was the Names of people (byte 1 to 
  563.         11) and the other field was their phone number (byte 22 to 29), 
  564.         it might look like this BEFORE the 2 CUTS: 
  565.  
  566.         DAVID ROPERFATHERBLUE765-4321GARNERNC27611
  567.  
  568.         After the Cut and without a filling, it looks like this:
  569.  
  570.         DAVID ROPER765-4321
  571.  
  572.         With a "Filling" of 22 dots, it would expand to look like this:
  573.  
  574.         DAVID ROPER......................765-4321
  575.  
  576.         (You decide whether a filling gets added or not.)
  577.  
  578.         If you are cutting a file vertically, you had better make sure 
  579.         there is something to cut where you specify.  If you tell 
  580.         CUTZIT to cut from byte position 34 to 55 and a record slips in 
  581.         that is only 25 bytes long - we got trouble.  CUTZIT cannot 
  582.         cut Air.  CUTZIT cannot cut if there is NOTHING to cut. 
  583.         How can you cut a section of bytes from 34 to 55 on a record 
  584.         whose length is only 25?  You cannot. 
  585.         
  586.         Hint: Use the PAD feature of CUTZIT, see the next section 
  587.         following this one, PAD with blanks out to 55, and then come 
  588.         back here and try again. 
  589.  
  590.         If you are cutting just ONE field, from byte 1 to byte 69, and 
  591.         a record slips in that is only 25 bytes long, no problem.  
  592.         Here's why there's NO trouble with this and the paragraph above 
  593.         said "we got trouble" when we cut from byte 34 to byte 55. 
  594.         
  595.         IF you specify the starting byte to be 1 (and note that it 
  596.         must start at position #1) AND IF you are cutting ONLY ONE 
  597.         field, then CUTZIT figures you are just making sure that NO 
  598.         LINES ARE LONGER THAN 69 (in this example) and everything is 
  599.         okay no matter what line sizes are encountered. 
  600.         
  601.  
  602.         
  603.                    PAD Records With A Character On The Right
  604.         CLOCK P                       A                        PAGE 12
  605.         ---------------------------------------------------------------  
  606.         PURPOSE:   Select this to insure that all of your lines of text 
  607.                    or lines of records are at LEAST a Certain size.  
  608.         You can select what character to pad with.  I know, the 
  609.         preposition again. 
  610.  
  611.         Tell CUTZIT what size to make each record.
  612.  
  613.         Tell CUTZIT what character with which to PAD.  (...no prep!)
  614.  
  615.         The Padding Character is added to the RIGHT side of each line, 
  616.         as many as it takes to fill it out.
  617.  
  618.         You can enter the Pad character in three ways:
  619.  
  620.         1 - Just enter the character itself (one character, no more)
  621.         
  622.         2 - Enter the HEXidecimal value of the ASCII character, 
  623.             00 to FF (two characters indicate HEX to CUTZIT here)
  624.         
  625.         3 - Enter the decimal value of the ASCII character, 000 to 255 
  626.             (three numbers indicate the use of DECIMAL to CUTZIT here)
  627.  
  628.         The ASCII value of the period  (.) is 046 or 2E (hex).
  629.         
  630.         If you wanted a period to be the padding character, you would 
  631.         enter either 046 or 2E or the period (.) itself. 
  632.  
  633.         (Let's look again, if you enter just two characters like 46, 
  634.         you get HEX values, and HEX 46 is "F".  Enter 046, three 
  635.         characters, for DECIMAL Forty-Six.)
  636.  
  637.         If you just press ENTER, then a Space will be the Padding 
  638.         Character, eliminating any need to know that the space is 
  639.         ASCII 032 decimal, or 20 HEX.  
  640.         
  641.         Who am I kidding, if you're PADDING, you already know what 
  642.         value a space is, don't you? 
  643.  
  644.         
  645.                                  Features List
  646.         CLOCK F                                                PAGE 13
  647.         ---------------------------------------------------------------  
  648.         PURPOSE:   A quick reminder of some of the features of CUTZIT.
  649.  
  650.         CUTZIT--
  651.  
  652.         --Cuts ASCII files into a Specified Number of files 
  653.         --Cuts ASCII files into Specifed Sizes or Lengths 
  654.         --Cuts ASCII files into a Specified Number of Lines 
  655.         --Cuts ASCII files Whenever a Phrase or Word occurs 
  656.         --Cuts ANY file, ASCII or BINARY, by the use of a Ratio 
  657.         --Cuts ANY file, ASCII or BINARY, into smaller, specified Sizes 
  658.         --Cuts Vertical Strips (fields) out of ASCII files
  659.         --Glues the Vertical strips (fields) together, side by side 
  660.         --Tests to see whether a file is Binary or ASCII 
  661.         --Finds, then Removes (and/or Replaces) TEXT automatically 
  662.         --Makes new ASCII files from selected lines, Throwing away others
  663.         --Makes a new file everytime DATA changes in a specified Field  
  664.         --Whenever a specified Field contains specified DATA  
  665.         --Merges one ASCII file Into another ASCII file at any Spot  
  666.         --Extracts BASIC program listings from Inside ASCII files 
  667.         --Counts and Compares lines, lengths, statistics, etc. 
  668.         --Pads ASCII Records on the right to make fixed lengths 
  669.         --Trims Characters from the right side of ASCII Records
  670.         --Views ASCII files on screen without DOS syntax  
  671.         --Append one file to another to make a third file 
  672.         --Prints ASCII file to printer without DOS syntax 
  673.         --Performs Rename without DOS syntax 
  674.         --Compares Ranges to Data and keeps those records that pass 
  675.         --AND, best of all, CUTZIT is very affordable.  It's FREE!  
  676.         
  677.  
  678.         
  679.                                Quit Using CUTZIT
  680.         CLOCK Q and MORE Q                                     PAGE 14
  681.         ---------------------------------------------------------------  
  682.         PURPOSE:   The proper way to leave the services of CUTZIT.
  683.  
  684.         If you have a habit of using the ESCape key to "get out", then 
  685.         you don't have to change your habit.  ESCape works, too.  It's 
  686.         just not there on the MENU.
  687.  
  688.         If you want to SHELL out to DOS, you can do so at either MENU 
  689.         with an ALT S command.  It's not there in the MENU because most 
  690.         of you don't need to be SHELLing out.  It's dangerous and it 
  691.         doesn't work on everybody's DOS version.  Don't write me if 
  692.         you have problems on your machine.  You're not going to hit ALT 
  693.         and S unless it's deliberate.  Don't worry.  Just don't use it. 
  694.  
  695.         "Lunchware" will be explained to you.  Get on the phone.  Call 
  696.          a friend you haven't seen in a long time.
  697.         
  698.         My Name and Address will appear if you need to send me a BUG 
  699.         REPORT, a complaint, an idea for a new feature, or maybe, even, 
  700.         a postcard to tell me you like it (naw, that'll never happen). 
  701.                 
  702.                                     Thanks.
  703.  
  704.  
  705.         
  706.                         Append One File To Another File
  707.         MORE A                         A                       PAGE 15
  708.         ---------------------------------------------------------------  
  709.         PURPOSE:   This will take one ASCII file and join another to   
  710.                    the end of it.  A third file will be created.
  711.         It will have a different name from the other two files.
  712.  
  713.         Again, your Originals will not be changed or appended to.
  714.  
  715.         You CANNOT join two Binary files using CUTZIT.  Don't try.
  716.  
  717.         If you have used CUTZIT's BINARY CUT, you cannot use this MENU 
  718.         item here to combine files that you made.  You must use DOS.
  719.  
  720.  
  721.         For those of you who would RATHER use DOS, read on....
  722.  
  723.  
  724.                       Using pure DOS on ASCII files, it's:    
  725.  
  726.                              COPY FILE1+FILE2 FILE3  
  727.  
  728.         and that will make a large FILE3 from two small files, 1 and 2
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.                       Using pure DOS on BINARY files, it's
  736.  
  737.                            COPY /B FILE1+FILE2 FILE3 
  738.                                 ~~
  739.         Note, this is how you will put back together files made using 
  740.         CUTZIT's BINARY CUT feature.
  741.  
  742.                    The /B switch is for copying Binary files.  
  743.                Important to use, because ASCII 26 might be inside 
  744.           one of the files, and the /B switch ignores this EOF marker. 
  745.  
  746.                   The / indicates the use of a special switch
  747.  
  748.                ------ Read your DOS manual for more help. ------
  749.  
  750.  
  751.         
  752.                         RENAME A File To Have A NEW Name
  753.         MORE R                         AB                      PAGE 16
  754.         ---------------------------------------------------------------  
  755.         PURPOSE:   Another DOS command is RENAME.  Here's a menu driven 
  756.                    way to do the same thing.  You can take an old name 
  757.         and change it to a new name WITHOUT having to leave CUTZIT.
  758.         
  759.         This feature will work on any file, BINARY or ASCII.
  760.  
  761.         RENAME them, NOW, from the number extensions that CUTZIT gave 
  762.         them to more meaningful names while you still remember what you 
  763.         did and what each file contains.
  764.         
  765.         
  766.         If you still prefer to use DOS, that's okay.   
  767.         
  768.         In DOS, it's RENAME OLDFILE NEWFILE, remember?
  769.  
  770.         Example:
  771.  
  772.         I have just cut up a Big Book called "BIGBOOK.TXT" into four 
  773.         chapters using "Whenever a phrase occurs", CLOCK W, page 7,...  
  774.         So, I would have: 
  775.  
  776.         BIGBOOK.1
  777.         BIGBOOK.2
  778.         BIGBOOK.3
  779.         BIGBOOK.4
  780.  
  781.         BIG DEAL, one month from now, I won't remember what they are.
  782.         So I can use DOS to RENAME the 4 chapters, now!
  783.  
  784.         C:\>RENAME BIGBOOK.1 PREFACE.   
  785.         C:\>RENAME BIGBOOK.2 ORGANIZ.CH1
  786.         C:\>RENAME BIGBOOK.3   RULES.CH2
  787.         C:\>RENAME BIGBOOK.4 REGULAT.CH3
  788.         
  789.         or I use CUTZIT to do the same thing described above as MORE R. 
  790.  
  791.         
  792.                      Glue Two Files Together, Side by Side  
  793.         MORE G                         A                       PAGE 17
  794.         ---------------------------------------------------------------  
  795.         PURPOSE:   This will enable you to place two files side by side 
  796.                    and glue them together - horizontally.  You can use 
  797.         this to put back together what you cut out with Vertical cuts.
  798.         
  799.         Example: If one file had just names in it (6 of them padded 
  800.                  with dots) like this-    
  801.  
  802.                  ROPER........
  803.                  TRUMAN.......
  804.                  WILSON.......
  805.                  MCDUFFIE.....
  806.                  BRANCATO.....
  807.                  BABCOCK......
  808.  
  809.         And another file had their ages (each on a line) like this-
  810.  
  811.                  46
  812.                  48
  813.                  45
  814.                  34
  815.                  25
  816.                  49
  817.                  88
  818.                                    (Notice there are seven ages, not six)
  819.                                    (88 is the seventh age, seventh line)
  820.  
  821.         Then you could "GLUE" them together to form one file with
  822.  
  823.                  ROPER........46
  824.                  TRUMAN.......48
  825.                  WILSON.......45
  826.                  MCDUFFIE.....34
  827.                  BRANCATO.....25
  828.                  BABCOCK......49
  829.  
  830.         You MAY need to PAD the first file with any missing characters 
  831.         such as dots (.) if they are not uniform in length.  Dots are 
  832.         used here to illustrate the character.  Probably your Database 
  833.         would use "Spaces", ASCII 032.  The PAD function is on page 12. 
  834.  
  835.         When either file runs out of data, the left or the right, the 
  836.         operation stops.  The first file had only six names.  The 
  837.         operation stopped when BABCOCK got 49.  The 88 was not used in 
  838.         the second file.
  839.  
  840.         The "filler" is optional.  In this example, we did not need a 
  841.         filler because the first file ALREADY had dots on the right of 
  842.         the names.  If you are putting together two files without dots, 
  843.         you can specify what character to make the filler and how many. 
  844.         (Remember, you may ACTUALLY need to use the "space" character 
  845.         as the filler, not a dot.) 
  846.  
  847.  
  848.         
  849.                     How Many Bytes In File, ASCII or BINARY
  850.         MORE H                         AB                      PAGE 18
  851.         ---------------------------------------------------------------  
  852.         PURPOSE:   This will tell you how many bytes are in a file.
  853.                    You could have used a DOS DIR to do the same thing, 
  854.         but you would have had to get out of CUTZIT and then re-ENTER 
  855.         CUTZIT.
  856.  
  857.         You could use the "Test Line Lengths of ASCII file" (MORE T) to 
  858.         do the same thing if it's an ASCII file, except this is faster 
  859.         and it works on ASCII or BINARY, both. 
  860.                     
  861.  
  862.  
  863.         
  864.                         Test Line Lengths of ASCII Files
  865.         MORE T                         A                       PAGE 19      
  866.         ---------------------------------------------------------------  
  867.         PURPOSE:   This feature gives a mini-statistics report on your 
  868.                    ASCII file.
  869.  
  870.         CUTZIT asks you for a line length to use for comparing.  If you 
  871.         press ENTER, the length of 80 will be used.  Don't use a 
  872.         negative number.  Any decimals will be "integerized" 
  873.  
  874.         You will get the following information:
  875.  
  876.         How many Bytes are in the file.
  877.         How many lines have exactly the length you input to compare.
  878.         What is the smallest size found and how many lines are there.
  879.         What is the largest size found and how many lines are there.
  880.         How many lines are smaller than the comparison length.
  881.         How many lines are larger than the comparison length.
  882.         How many lines are in the file all together.
  883.  
  884.  
  885.         
  886.                    Check Whether The File Is ASCII or BINARY
  887.         MORE C                         AB                      PAGE 20
  888.         ---------------------------------------------------------------  
  889.         PURPOSE:   In case you have a different idea from me, use this 
  890.                    to test whether a file is ASCII or BINARY.
  891.  
  892.         Each Function in the Manual, like this page, will have a B or 
  893.         an A under the Title to signify that the function is an Ascii 
  894.         or Binary function.  If it can be either A or B, then you will 
  895.         see both A and B together such as AB.  This one is AB.
  896.  
  897.         I check the first 500 bytes (if the file is that large) for any 
  898.         occurence of High Bit ASCII.  (Actually, CUTZIT checks for 4 
  899.         occurences of it.) 
  900.  
  901.         High Bit ASCII is also known as HASCII in some circles.  After 
  902.         all, it's ALL really ASCII, isn't it?  Low ASCII 0 to 127 and 
  903.         high ASCII 128 to 255.  ASCII is from 000 to 255, decimal.
  904.  
  905.         I call Low  ASCII (000 to 127) just plain "ASCII."
  906.         I call High ASCII (128 to 255, HASCII) just plain "BINARY."
  907.  
  908.         Those are the names to use while using "CUTZIT."
  909.  
  910.         Put a switch, /%,  AFTER the file name, like "MYFILE.EXE /%" to 
  911.         see the actual percentage and the number of bytes checked, 
  912.         although it's not necessary.  Use it only if you're curious. 
  913.  
  914.         NOTE: Make sure IF YOU USE the switch /%, you don't use the 
  915.         backslash and try to use \%.  Can you see which way it leans?
  916.         Therefore, I will explain it again, /% is okay....
  917.         and \% is wrong and won't work....
  918.  
  919.         
  920.  
  921.         
  922.                    Extract A BASIC Program From An ASCII File
  923.         MORE E                         A                       PAGE 21 
  924.         ---------------------------------------------------------------  
  925.         PURPOSE:   This will extract a BASIC program from any ASCII 
  926.                    file. 
  927.         I made this function to retreive BASIC listings hidden in the 
  928.         middle of COMPUSERVE LOG sessions.  Sometimes I just look at 
  929.         programs and capture them in my LOG of the session.
  930.         
  931.         If there are more than one program, CUTZIT will FIND them all - 
  932.         
  933.         (and CUTZIT will also find any lines in the ASCII text which 
  934.         begin with numbers AND are increasing in value.  That's how it 
  935.         works, I've told you now.)
  936.  
  937.         CUTZIT will also ask you for a range of line numbers to accept.
  938.  
  939.         If you enter -for example- 550 to 850, then only line numbers 
  940.         between and including 550 and 850 will be saved if they are 
  941.         found at all. 
  942.  
  943.         You can also use this to your advantage if you want to strip a 
  944.         nice section of code out of another program to use in yours.
  945.  
  946.         After you get it, RENUM it and MERGE it with CUTZIT...
  947.         
  948.          - the line numbers in the first file will be UNIQUE enough if 
  949.         you include the space after the line number, such as "1300 ", 
  950.         not "1300" 
  951.  
  952.         Please note:
  953.          ....you cannot use this function on TOKENIZED BASIC.  You must 
  954.         have saved the program with the ASCII switch, such as this: 
  955.  
  956.                                 SAVE "MYFILE",A
  957.                                              ~~~
  958.  
  959.         See the ",A" - that tells BASIC or BASICA or GWBASIC to save in 
  960.         ASCII format, not Tokenized BINARY.  See your BASIC manual for 
  961.         more information on saving in ASCII format.
  962.  
  963.  
  964.  
  965.         
  966.                             View File On The Monitor
  967.         MORE V                        A                        PAGE 22
  968.         ---------------------------------------------------------------  
  969.         PURPOSE:   This is the part I am ashamed of, when there are so 
  970.                    many nice viewing programs on the market.  Vernon 
  971.         Beurg's LIST is THE standard for all others to imitate.  
  972.  
  973.         BROWSE and SMOOTH, distributed by ZIFF DAVIS, are two more, but 
  974.         not really in the same league/class with Vernon's. 
  975.  
  976.         Anyway, I figured it would be nice to look at some of the files 
  977.         without having to leave CUTZIT and so THAT is why VIEW is here. 
  978.  
  979.         You only see the first 80 characters of each line.  It's peek-
  980.         a-boo.  And I calculate where you are --in percent-- so you can 
  981.         tell where you are in the file.  1% is at the beginning, 100% 
  982.         is through (at the END). 
  983.  
  984.         If a line is longer than 80 characters, you get a reminder of 
  985.         that fact when you notice the rightmost character on the line 
  986.         is a little arrowhead pointing to the right. 
  987.  
  988.         Sorry, Vernon.
  989.  
  990.         Sorry, ZIFF DAVIS.
  991.  
  992.  
  993.  
  994.                           Print A File To The Printer
  995.         MORE P                         A                       PAGE 23
  996.         ---------------------------------------------------------------  
  997.         PURPOSE:   This will print any ASCII file to the printer like 
  998.                    you can using DOS. 
  999.  
  1000.         I figured it would be nice to do this without having to leave 
  1001.         the CUTZIT session.  
  1002.  
  1003.         I could have Shelled out and used DOS PRINT, but I wanted 
  1004.         CUTZIT to be compatible without crashing if it couldn't find 
  1005.         COMMAND.COM, etc., etc. 
  1006.  
  1007.         In DOS, this is what you do:
  1008.  
  1009.                               COPY FILENAME PRN
  1010.  
  1011.                                       or
  1012.  
  1013.                               TYPE FILENAME > PRN
  1014.  
  1015.  
  1016.                               To do the SAME THING....
  1017.  
  1018.  
  1019.          *** new for 1.1 ***
  1020.          In version 1.1 of CUTZIT, you may specify a margin to be used when 
  1021.          printing to the printer.  
  1022.  
  1023.          You may want to add a margin so that the DOCUMENT will fit inside
  1024.          a notebook and you will need the extra left margin for the punch 
  1025.          holes or the staples.  When asked for a margin, if you [ENTER] 
  1026.          without entering any number, then zero will be used and you will get
  1027.          the document without any added margin.  If you are printing in ELITE
  1028.          which is 12 CPI, then you can print most PICA (10 CPI) documents AND
  1029.          ADD A ONE INCH MARGIN by entering the number 12 for the left margin.
  1030.  
  1031.  
  1032.         
  1033.                         Search A File To Replace A Word
  1034.         MORE S                        A                        PAGE 24 
  1035.         ---------------------------------------------------6---^--------  
  1036.         PURPOSE:   To find and replace words or phrases automatically 
  1037.                    in a file, program, or database of ASCII records.
  1038.  
  1039.         The source file is the name of the file to look IN.
  1040.  
  1041.         Yep, I know.  The preposition "in" ......... I'm sorry....
  1042.         
  1043.         Then CUTZIT will ask you what word (or phrase) to try to find 
  1044.         to replace.
  1045.  
  1046.         CUTZIT will ask you if the word happens to be in any specific 
  1047.         position.  If the word being replaced is "PAGE" and it is in 
  1048.         the same position everytime it's found, then you're lucky.  The 
  1049.         word, for instance, "PAGE" is found in the same position in 
  1050.         this manual - at the Top Right side of every Page at position 
  1051.         64, and it's found in various positions in the paragraphs, too. 
  1052.  
  1053.         If you specified position = 64, then you would change all of 
  1054.         THOSE "PAGE" occurences and NOT the ones INSIDE the paragraphs 
  1055.         hopefully.  The position of "PAGE" in the last sentence is 16.
  1056.     -----1-----^---2---------3---------4---------5---------6---------7-----
  1057.  
  1058.         CUTZIT will ask you what to replace it with?  If you reply with 
  1059.         nothing, such as pressing ENTER alone, then the word will be 
  1060.         REMOVED.  If you respond with a word such as SHEET, then SHEET 
  1061.         will be placed everywhere PAGE was found at position = 64.
  1062.  
  1063.         Wow, it's hard to explain.  It's easier to use.  Really.
  1064.  
  1065.         If CUTZIT cannot fullfill its obligation to replace ALL that it 
  1066.         finds, then you will get a marker in your newly formed file 
  1067.         informing you that you need to take the matter into your own 
  1068.         hands.  The extra line will say: 
  1069.         "****** all the instances didn't get changed in the above line." 
  1070.  
  1071.         CUTZIT will tell you on the screen that it failed, also.  
  1072.         Look, you can't make those lines TOO big - the limit is set at 
  1073.         512 characters for now.  Maybe it could be bigger.  Let me know 
  1074.         if this gives you a problem.  (OR read the next NOTE:)
  1075.         
  1076.         NOTE: If you have PCTOOLS or NORTON Utilities, you can change 
  1077.         it on disk.  I made it a 5 character string "00512" so you can 
  1078.         find it easily. If you change it, don't distribute your own
  1079.         personal, changed version of CUTZIT to others, please. 
  1080.  
  1081.         This feature is mostly used for one line records of Data.
  1082.  
  1083.         Maybe the word "CLARK" was mispelled "CLRAK" in a report and you 
  1084.         don't know what data record it is, but you do know that all 
  1085.         NAMES are in position 4 of every line, every record. 
  1086.         
  1087.         Tell CUTZIT to find "CLRAK" at Byte 4 and change it to "CLARK" 
  1088.         for you. 
  1089.  
  1090.  
  1091.         
  1092.                      When A Field CHANGES, Make A New File
  1093.         MORE W                         A                       PAGE 25   
  1094.         ---------------------------------------------------------------  
  1095.         PURPOSE:   CUTZIT will make a new file everytime a certain 
  1096.                    position CHANGES in an ASCII file.
  1097.  
  1098.         This is to be used on Data which is SORTED, obviously.
  1099.  
  1100.         Use DOS' SORT program to SORT if needed.  Here's the syntax:
  1101.         "SORT < UNSORTED > SORTED"      and here's an example using an 
  1102.         unsorted file called RECORDS.DTA on drive A:.  A sorted file on 
  1103.         B: called RECSORTD.DTA will be created (sorted on position #9.)
  1104.  
  1105.                    SORT /+9 < A:RECORDS.DTA > B:RECSORTD.DTA 
  1106.  
  1107.         If you tell CUTZIT what byte to look at and for how many bytes 
  1108.         to look at, everytime that field - or chunk - CHANGES, a new 
  1109.         file will start collecting that record and all that follow - 
  1110.         until the field CHANGES again.
  1111.  
  1112.         Consider these 4 UNsorted data records:
  1113.  
  1114.         1        10        20        30  <-----This is a ruler for you.
  1115.         |        |         |         |         Byte positions 1 to 30
  1116.         |        |         |         |         are marked with a "|".
  1117.         |        |         |         |        (Position 9 is left of 10)
  1118.         ROPER   BLUE  140CLERK     189
  1119.         WILSON  BLONDE160TYPIST    155
  1120.         MCDUFFIEBLACK 133MUSICIAN  121
  1121.         TRUMAN  BLACK 177PROGRAMMER198
  1122.         |        |         |              When they are SORTED on the "B",
  1123.         |        |         |                   at position = 9,
  1124.         |        |         |                   they will be as follows:
  1125.         MCDUFFIEBLACK 133MUSICIAN  121
  1126.         TRUMAN  BLACK 177PROGRAMMER198
  1127.         WILSON  BLONDE160TYPIST    155
  1128.         ROPER   BLUE  140CLERK     189
  1129.         |        |         |         |
  1130.         |        |         |         |
  1131.         1        10        20        30  <-----This is a ruler for you.
  1132.         
  1133.         If you look at postion 9, for TWO bytes (#9, #10), they NEVER 
  1134.         change...they are all "BL".  Look at JUST those 2 bytes!
  1135.         
  1136.         BLack, BLack, BLonde, BLue - four "BL" words - 2 bytes 
  1137.         
  1138.         You would get just one file made....THEY NEVER CHANGED.  
  1139.         They're all "BL", if you look at JUST two bytes (#9, #10!) 
  1140.  
  1141.                                  B U T . . . .
  1142.         If you look at the same position 9 for 3 bytes (#9,#10,#11), 
  1143.         they CHANGE TWICE.  Once from "BLA" to "BLO" and then again 
  1144.         from "BLO" to "BLU".  Use 3 bytes and you get 3 files made. 
  1145.  
  1146.         The first file would contain the MUSICIAN and PROGRAMMER.
  1147.         The second file would contain the TYPIST.
  1148.         The third (and last) file would get the CLERK.
  1149.  
  1150.         
  1151.                     Data Range Must Be Passed To Keep Record
  1152.         MORE D                         A                       PAGE 26
  1153.         ---------------------------------------------------------------  
  1154.         PURPOSE:   Here, the best way to describe it is this.  If you 
  1155.                    had DATA containing peoples' weights in byte 
  1156.         positions 11, 12, and 13 (such as 188 pounds, etc.)  You 
  1157.         could tell CUTZIT to save all the records of people who weigh 
  1158.         between 125 and 198 pounds.  (All those who pass the "test")
  1159.         
  1160.         You will be prompted for "Start of DATA RANGE" 
  1161.         Let's use 125 as in the above example.  Enter 125.
  1162.  
  1163.         Then you will be prompted for "End of DATA RANGE"
  1164.         Let's use 198 as in the above example.  Enter 198
  1165.  
  1166.         CUTZIT will ask "What Byte Position is the above DATA FOUND?" 
  1167.         Pretend that the Data starts on position 11.  You enter 11.
  1168.         
  1169.         Then you CHOOSE whether to treat the DATA as NUMBERS or not.
  1170.         Since these ARE numbers, you may want to treat them as Numbers 
  1171.         for the comparisons being made.
  1172.         
  1173.         CUTZIT makes a new file containing all the records of people 
  1174.         who fall in the range of 125 to 198, and including 125 and 198.  
  1175.         
  1176.         It's up to you to know how your data looks and whether it needs 
  1177.         a preceeding zero or blank for that field.  All comparisons can 
  1178.         be done in ASCII or with NUMBERS.  In ASCII, "0200" comes before 
  1179.         "100." (0 before 1).  But, NUMERICALLY, 100 comes before 200.  
  1180.         If you have DATA like "ABC" and choose NUMBERS then "ABC" = 0
  1181.  
  1182.         If you can get your hands on a statistical package called 
  1183.         "EPI-INFO" from the CDC in Atlanta, do it.  Yes, it's FREE 
  1184.         PUBLIC DOMAIN.  Handles over 32,000 records, draws graphs, 
  1185.         write your own questionnaires with its editor, write "programs" 
  1186.         and it's even faster than the commercial, $600 statistical 
  1187.         programs, and "EPI-INFO" is STILL VERY EASY TO USE.  
  1188.         
  1189.         Don't write to me.... send off, on your OWN letterhead, to the 
  1190.         people who distribute "EPI-INFO" for the Centers for Disease 
  1191.         Control.  They are:         USD, INC.
  1192.                              2156-D West Park Court
  1193.                         Stone Mountain, GA 30087, U.S.A
  1194.  
  1195.         Four Disks, a printed 157 page manual, and shipping: prepaid or 
  1196.         credit card, $18.00 total, at THEIR cost...Phone (404) 469-4098 
  1197.         At the time of this writing, it's in version 3.0 -- with version 
  1198.         4.0 being promised in the "Late Summer of 1989,"- quoting USD.   
  1199.  
  1200.         Public Domain means you can use it for free, it doesn't mean you 
  1201.         get 4 diskettes or printed 157 page manuals for free.  C'mon now.
  1202.        
  1203.         Back to CUTZIT:  If you END the name of the file to be made 
  1204.         ".EPI", it will automatically bring in the header of the Epi-
  1205.         Data file (.REC) to create a subset of the original data. 
  1206.         (CUTZIT supports records of 77 bytes or less in this EPI mode) 
  1207.        
  1208.  
  1209.         
  1210.                  Trim Characters from the Right Side of Records
  1211.         MORE T                         A                       PAGE 27   
  1212.         ---------------------------------------------------------------  
  1213.         PURPOSE:   CUTZIT can look at lines of a file and remove 
  1214.                    characters from the right side according to what 
  1215.         character you desire to trim away.  You may enter the single 
  1216.         character or you may use the <, >, or = signs described below 
  1217.         for ranges if you are the "advanced user."
  1218.  
  1219.         If that character is not present, then of course, no cutting is 
  1220.         performed.  CUTZIT trims only what you want it to trim.
  1221.         
  1222.         If you tell CUTZIT to trim away all the SPACES it finds, then 
  1223.         CUTZIT will trim away all the SPACES it finds at the right side 
  1224.         of a line (record).  SPACES are hard to see in a word 
  1225.         processor, but not hard for CUTZIT to find.  A Space Character 
  1226.         is ASCII 032 decimal. 
  1227.  
  1228.         If you are trimming dots and your line looked like this:
  1229.  
  1230.         ABC...DEFGHIJK.............
  1231.         
  1232.         After you told CUTZIT to trim away all the dots (.), it would 
  1233.         look like this:
  1234.  
  1235.         ABC...DEFGHIJK               
  1236.  
  1237.         Notice that CUTZIT trims from the Right side and stops when it 
  1238.         no longer finds the character you're trying to trim.
  1239.  
  1240.         If you want to trim using Comparisons, use > for Greater than
  1241.                                                use < for Less than
  1242.                                                use = for Equals
  1243.  
  1244.         Use 2 characters for Hex numbers and three characters for 
  1245.         decimal numbers like in the PAD function (see CLOCK P for more 
  1246.         help on my syntax of two and three characters for Hex and 
  1247.         Decimal numbers): 20 is HEX, 032 is decimal, both are the same.
  1248.  
  1249.         Examples:
  1250.         If you wanted to trim all characters greater than Z , then...
  1251.  
  1252.         You could input ">Z"           (use the actual character itself)
  1253.                     or  ">5A"          (the HEX number for Z is 5A)
  1254.                     or  ">090"         (the decimal number for Z is 090)
  1255.  
  1256.         USE NO EXTRA SPACES WHEN INPUTTING THE 4 CHARACTERS (Maximum)
  1257.             ~~~~~~~~~~~~~~~
  1258.               "> 90" is WRONG and ">090" is RIGHT (see the Space?) 
  1259.  
  1260.         You could say "<032" for all characters less than SPACE (032).
  1261.  
  1262.         You could say "=254" for the character known as ASCII 254.
  1263.         You must do it like this because you can't enter a character 
  1264.         254 from the keyboard.  (Okay, I know you CAN, but use this way)
  1265.         (If you put "=FE", that's okay.  Hex FE is decimal 254, too.
  1266.  
  1267.         
  1268.                                       DIR                      
  1269.         CLOCK D                        B                       PAGE 28   
  1270.         ---------------------------------------------------------------  
  1271.         PURPOSE:   You may need to look at a diskette to remember
  1272.                    what the names of the files are that you want to CUT
  1273.         or inspect.  You will be prompted for the Drive letter such as 
  1274.         A: or B: in which the diskette rests.  
  1275.  
  1276.         You may use wildcards like in DOS.  
  1277.  
  1278.         Example:  to find all the files with extensions named ".DOC"
  1279.                   on a diskette in drive A: you would issue the following
  1280.  
  1281.                   A:*.DOC
  1282.  
  1283.         If you make a mistake or press [ENTER] with no entry, you will get the 
  1284.         main menu again.
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.                                 VERSION HISTORY                PAGE 29
  1291.         ---------------------------------------------------------------  
  1292.  
  1293.         Version 1.0 - March 1989 - CUTZIT is born with 2 Screens, 
  1294.                                    QuickBASIC 3.0 was the doctor.
  1295.  
  1296.         Version 1.1 - Jan. 1990 - Cutzit adds optional Margin when 
  1297.                                   printing a file.  Adds D for Looking
  1298.                                   at a DIRectory.  Debugs ERROR CODE
  1299.                                   reporting.  Change of P.O.Box number.
  1300.                                   Changed some wording in Menus (minor).
  1301.                                   Compiled with QuickBasic 4.5 for 
  1302.                                   quicker display of screens.
  1303.  
  1304.  
  1305.  
  1306.  
  1307.  
  1308.                                  *** NOTICE ***
  1309.  
  1310.         You may include CUTZIT and CUTZIT.DOC in any program you give 
  1311.         away or call Shareware, etc.  Understand that there may NOT be 
  1312.         a charge for CUTZIT other than the normal and customary charge 
  1313.         for copying which is less than $10.00.  You could charge up to 
  1314.         $9.99 for copying - you CANNOT charge $10.00, get it? 
  1315.  
  1316.         I intend for this program to HELP others, therefore, I hope 
  1317.         that you will take your friends to lunch and give them a copy.   
  1318.         That is enough payment for me.  
  1319.  
  1320.         If you want to write to me with ideas, great....thanks, but be 
  1321.         sure you include a self addressed, stamped envelope if you  
  1322.         want me to write back to you.  I cannot make disk copies, so do 
  1323.         not send me diskettes to do that.  
  1324.  
  1325.         Then how do you get updates?  What to do?  Read on...MacBeth
  1326.  
  1327.         Get the newest versions from the distribution house that you 
  1328.         got this from.  I will keep them up to date with the latest 
  1329.         versions.  They do us a great service by distributing all this 
  1330.         software - 
  1331.         Lunchware, Shareware, Public Domain, etc.   My thanks to them. 
  1332.         +-------------------------------------------------------------+
  1333.         |       David Roper - P. O. Box 1353 - Garner, N.C. 27529     |
  1334.         +-------------------------------------------------------------+
  1335.  
  1336.          If you have gotten this by MODEM, then you have gotten it all
  1337.  
  1338.